﻿namespace My.Hydrator.Tests
{
    using System.ComponentModel.DataAnnotations;
    using My.Hydrator.Formatters;

    public class PhoneFormatter : BaseDataTypeFormatter, IDataTypeFormatter
    {
        public DataTypeAttribute FormatterDataType
        {
            get { return new DataTypeAttribute(DataType.PhoneNumber); }
        }

        public object GetFormat()
        {
            return "123/123/123";
        }
    }
}
